-- GENERATED SPELL FOR [Zulian Panther] --


function spell0_11365(pUnit, Event) --@Exploit Weakness,n/a--
pUnit:FullCastSpellOnTarget(8355,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11365', 671, 1)
end

function spell1_11365(pUnit, Event) --@Rake,n/a--
pUnit:FullCastSpellOnTarget(24332,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11365', 9000, 1)
end

function spell2_11365(pUnit, Event) --@Ravage,n/a--
pUnit:FullCastSpellOnTarget(24333,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11365', 2000, 1)
end

function Sorts_11365(pUnit, Event)
local choix_sorts_11365 = math.random(0, 2)
if choix_sorts_11365 == 0 then
pUnit:RegisterEvent('spell0_11365', 1, 1)
end
if choix_sorts_11365 == 1 then
pUnit:RegisterEvent('spell1_11365', 1, 1)
end
if choix_sorts_11365 == 2 then
pUnit:RegisterEvent('spell2_11365', 1, 1)
end
end

function mob11365_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11365', math.random(1500, 3000), 1)
end

function mob11365_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11365_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11365_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11365, 1, 'mob11365_Action')
RegisterUnitEvent(11365, 2, 'mob11365_Leave')
RegisterUnitEvent(11365, 3, 'mob11365_Kill')
RegisterUnitEvent(11365, 4, 'mob11365_Die')
